package cn.gok.oa.interceptor;

import lombok.Data;

@Data
public class ServiceException extends RuntimeException{
    private String retCd ;  //异常对应的返回码
    private String msgDes;  //异常对应的描述信息

    public ServiceException() {
        super();
    }
    public ServiceException(String message) {
        super(message);
        msgDes = message;
    }

    public ServiceException(String retCd, String msgDes) {
        super();
        this.retCd = retCd;
        this.msgDes = msgDes;
    }
}
